/**
    createDate:2022年05月12日13:57
    updateDateTime:2022年5月23日14:56
    Author:Leo Tang
 */
import { ApiProperty } from "@nestjs/swagger";
import { pageModal } from '../../commonDto/common'

export class registerDto {
    @ApiProperty({ 
        required: true,
        description:'用户名'
    })
    readonly username?: string;
    @ApiProperty({ 
        required: true,
        description:'密码'
    })
    readonly password?: string;
}

export class searchUserByName extends pageModal{
    @ApiProperty({ 
        required: false,
        description:'用户名'
    })
    readonly username?: string;
}
